#pragma once

#include "common_data.h"
#include "broker.h"

#include <stdio.h>
#include <unistd.h>
#include <stdlib.h>
#include <math.h>
#include <ev.h>

#define TEMP_TIMER 5

#ifdef __cplusplus
extern "C" {
#endif

void temperature_start();

static void main_timer_cb(struct ev_loop *loop, ev_timer *w, int revents);

#ifdef __cplusplus
};
#endif
